Skip to content

Conversation

@BCSharp
Copy link
Member

@BCSharp BCSharp commented Apr 7, 2025

In preparation for more changes in PythonSignal (like making it work on POSIX).

Copy link
Contributor

@slozier slozier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

""")]
public static object? signal(CodeContext/*!*/ context, int signalnum, object? action) {
// Negative scenarios - signalnum
if (signalnum < 1 || signalnum >= NSIG) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: in getsignal you changed it to signalnum <= 0

@BCSharp BCSharp merged commit ce434b5 into IronLanguages:main Apr 7, 2025
17 checks passed
@BCSharp BCSharp deleted the PythonSignal branch April 7, 2025 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants